package com.cjt.chat.controller;

import org.springframework.boot.web.servlet.error.ErrorController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author cjt
 * @since 2024/3/15
 */
@Controller
public class PageErrorController implements ErrorController {

    @RequestMapping(path = "/error")
    public String error() {
        return "/error/404";
    }

}
